package com.example.schoolexam2.service;

import com.example.schoolexam2.dto.EmployeeDto;
import com.example.schoolexam2.entity.Employee;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileInputStream;
import java.util.List;

public interface EmployeeService {
    int employeeIncreases(MultipartFile file, int RequestType ) throws Exception;
    //查询教师个人信息
    Employee employeePersonal(String employeeId);
    //删除教师信息（不显示）
    int employeeDelete(String employeeId,int isUser);
    //添加教师个人信息
    int employeeIncrease(EmployeeDto employeeDto);
    //修改教师个人信息
    int employeeUpdate(EmployeeDto dto);
    //模糊查询
    List<Employee> employeeFuzzy(String fuzzy);
}
